package com.example.tianling.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.tianling.common.vo.TrainListVo;
import com.example.tianling.entity.TrainResultEntity;

import java.util.List;

public interface TrainResultService extends IService<TrainResultEntity> {
    List<TrainListVo> getTrainList(Integer userId);
    List<TrainResultEntity> getAllData(Integer roomId);
    TrainResultEntity getMyResult(Integer roomId, Integer userId);
    void updateNote(Integer roomId, Integer userId, String note);
    void updateLocalPath(Integer roomId, Integer userId, String localPath);
}
